From: Dan Nicolaescu Date: Fri, 6 Aug 2010 00:07:36 +0000 (-0700) Subject: * src/syssignal.h (signal_handler_t): Restore accidentally removed definition. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~7060 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=42cedb18557bc6814d637b6827ae424d19b134d3;p=emacs.git * src/syssignal.h (signal_handler_t): Restore accidentally removed definition. --- diff --git a/src/syssignal.h b/src/syssignal.h index 57f7f6eec70..48eb7229353 100644 --- a/src/syssignal.h +++ b/src/syssignal.h @@ -68,6 +68,10 @@ extern sigset_t sys_sigmask (); #undef signal #define signal(SIG,ACT) sys_signal(SIG,ACT) +/* Whether this is what all systems want or not, this is what + appears to be assumed in the source, for example data.c:arith_error. */ +typedef RETSIGTYPE (*signal_handler_t) (int); + signal_handler_t sys_signal (int signal_number, signal_handler_t action); sigset_t sys_sigblock (sigset_t new_mask); sigset_t sys_sigunblock (sigset_t new_mask);